package com.model.dto.sys.sysOperLog;

import lombok.Data;
import com.alibaba.excel.metadata.BaseRowModel;
import com.alibaba.excel.annotation.ExcelProperty;

@Data
public class SysOperLogExcel extends BaseRowModel{
    @ExcelProperty(value = {"ID,自动递增"}, index = 0)
    private Long sysOperLogId;
    @ExcelProperty(value = {"模块标题"}, index = 1)
    private String title;
    @ExcelProperty(value = {"0:其他,1:新增,2:修改信息,3:修改数据状态,4:授权,5:导出,6:导入,7:强退,8:生成代码,9:清空状态,10:查询数据"}, index = 2)
    private Integer businessType;
    @ExcelProperty(value = {"方法名称"}, index = 3)
    private String method;
    @ExcelProperty(value = {"请求方式"}, index = 4)
    private String requestMethod;
    @ExcelProperty(value = {"操作人员"}, index = 5)
    private String userName;
    @ExcelProperty(value = {"0：员工 1：会员 2：游客"}, index = 6)
    private Integer userType;
    @ExcelProperty(value = {"浏览器类型"}, index = 7)
    private String browser;
    @ExcelProperty(value = {"操作系统"}, index = 8)
    private String os;
    @ExcelProperty(value = {"请求URL"}, index = 9)
    private String operUrl;
    @ExcelProperty(value = {"主机地址"}, index = 10)
    private String operIp;
    @ExcelProperty(value = {"操作地点"}, index = 11)
    private String operLocation;
    @ExcelProperty(value = {"请求参数"}, index = 12)
    private String operParam;
    @ExcelProperty(value = {"返回参数"}, index = 13)
    private String jsonResult;
    @ExcelProperty(value = {"0:正常,1:异常"}, index = 14)
    private Integer status;
    @ExcelProperty(value = {"错误消息"}, index = 15)
    private String errorMsg;
}
